-- GENERATED SPELL FOR [Tamed Battleboar] --


function spell0_4535(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_4535', 3000, 1)
end

function Sorts_4535(pUnit, Event)
local choix_sorts_4535 = math.random(0, 0)
if choix_sorts_4535 == 0 then
pUnit:RegisterEvent('spell0_4535', 1, 1)
end
end

function mob4535_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4535', math.random(1500, 3000), 1)
end

function mob4535_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4535_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4535_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4535, 1, 'mob4535_Action')
RegisterUnitEvent(4535, 2, 'mob4535_Leave')
RegisterUnitEvent(4535, 3, 'mob4535_Kill')
RegisterUnitEvent(4535, 4, 'mob4535_Die')
